/* 第二个页面样式 */
body {
  padding: 0;
  margin: 0;
}
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-bg img {
  width: 100%;
  display: block;
}

.audio-body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 43vw 5vw 0;
  background-color: #fff;
  width: 92vw;
  border-radius: 2vw;
}

/* 标签页导航 */
.tab-navigation {
  display: flex;
  justify-content: space-between;
  margin: 4vw 0 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2vw;
  padding: 1vw;
}

.tab-item {
  text-align: center;
  padding: 1vw 1vw;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  width: 20vw;
  transition: all 0.3s ease;
  border-bottom: 1vw solid #fff;
}

.tab-item.active {
  font-weight: bold;
  color: #333333;
  border-bottom: 1vw solid #6e56ff;
}

/* 音乐列表 */
.music-list {
  margin-top: 4vw;
  padding: 0 4vw;
  margin-bottom: 100px;
}

.music-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.music-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.music-info {
  display: flex;
  align-items: center;
  flex: 1;
}

.music-number {
  font-size: 18px;
  font-weight: bold;
  color: #ff6b6b;
  margin-right: 15px;
  min-width: 30px;
}

.music-details {
  flex: 1;
}

.music-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.music-artist {
  font-size: 12px;
  color: #999;
}

.music-play {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-play img {
  width: 24px;
  height: 24px;
}

/* 底部导航 */
.bottom-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  padding: 10px 0 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.nav-item span {
  font-size: 12px;
  color: #666;
}

.nav-item.active span {
  color: #6e56ff;
  font-weight: bold;
}

/* 登录弹窗 */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.login-modal.show {
  display: flex;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}
.login-body {
  position: absolute;
  width: 90vw;
  height: 100vw;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1001;
  background: url("../img/page2/login-bg.png") no-repeat center center;
  background-size: cover;
}

.login-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.login-header {
  width: 100%;
  height: 20vw;
}

.login-close {
  position: absolute;
  top: 0vw;
  right: 1vw;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1002;
}

.login-close img {
  width: 100%;
  height: 100%;
}

.login-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 20px 0;
}

.login-form {
  padding-top: 3vw;
  width: 70vw;
  margin-left: 10vw;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.phone-input,
.code-input {
  width: 100%;
  height: 12vw;
  border: 1px solid #ddd;
  border-radius: 2vw;
  padding: 0 3vw;
  font-size: 4vw;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s ease;
}

.phone-input:focus,
.code-input:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.get-code-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.get-code-btn:hover {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.05);
}

.login-btn {
  width: calc(100% - 60px);
  height: 50px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin: 20px 30px;
  transition: all 0.3s ease;
}

.login-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.agreement {
  padding: 0 30px 30px 30px;
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.agreement-checkbox {
  margin-right: 8px;
  margin-top: 2px;
  flex-shrink: 0;
}

.agreement a {
  color: #ff6b6b;
  text-decoration: none;
}

.agreement a:hover {
  text-decoration: underline;
}

/* Toast消息样式 */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-width: 80%;
  text-align: center;
  word-wrap: break-word;
}

.toast.show {
  opacity: 1;
  visibility: visible;
}

.toast.success {
  background: rgba(76, 175, 80, 0.9);
}

.toast.error {
  background: rgba(244, 67, 54, 0.9);
}

.toast.info {
  background: rgba(33, 150, 243, 0.9);
}

/* 主内容区域 */
.main-content {
  min-height: calc(100vh - 200px);
  width: 100%;
}

/* Video视图样式 */
.video-view {
  padding: 1px;
  background-image: url("../img/page2/bg.png");
  background-size: 100vw auto;
  background-repeat: no-repeat;
  background-color: #ffedb3;
  min-height: 100vh;
}

.video-body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 46vw 5vw 22vw;
  background-color: #fff;
  /* width: 90vw; */
  min-height: 50vh;
  border-radius: 2vw;
}

.video-list {
  width: 80vw;
  margin: 4vw 5vw 2vw;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3vw;
  padding: 2vw;
  position: relative;
}

.video-list .video-item {
  width: 94%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3vw;
}

.video-item .video-box {
  width: 100%;
  height: 50vw;
  position: relative;
  /* border-radius: 2vw; */
  overflow: hidden;
  border-radius: 0;
}

.video-item .video-cover {
  width: 100%;
  height: 100%;
}

.video-item .video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  width: 16vw;
  height: 16vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
}

.video-play img {
  width: 100%;
  height: 100%;
}

.video-set {
  width: 30vw;
  margin-top: 3vw;
  cursor: pointer;
}

.video-set img {
  width: 100%;
}

/* Audio视图样式 */
.audio-view {
  padding: 1px;
  width: 100vw;
  background-image: url("../img/page2/bg2.png");
  background-size: 100vw auto;
  background-repeat: no-repeat;
  background-color: #bc90ff;
  min-height: 100vh;
}

/* 我的视图样式 */
.my-view {
  padding: 1px;
  background-image: url("../img/page2/bg3.png");
  background-size: 100vw auto;
  background-repeat: no-repeat;
  background-color: #9dd1ff;
  width: 100vw;
  min-height: 100vh;
}

.my-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 5vw;
  margin: 0vw 5vw 0;
}

/* 用户信息头部 */
.user-profile {
  display: flex;
  align-items: center;
  padding: 10vw 8vw;
}

.user-avatar {
  position: relative;
  width: 16vw;
  height: 16vw;
  margin-right: 4vw;
}

.user-avatar img {
  width: 16vw;
  height: 16vw;
  border-radius: 50%;
  background: #007aff;
}

.vip-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #ff6b35;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
}

.user-info {
  flex: 1;
}

.phone-number {
  font-size: 5vw;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.member-status {
  margin-top: 2vw;
  font-size: 4vw;
  color: #666;
}

.my-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.menu-item:hover {
  background: #e9ecef;
}

.menu-item img:first-child {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.menu-item span {
  flex: 1;
  font-size: 16px;
  color: #333;
}

.menu-item .arrow {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.logout-btn {
  position: absolute;
  bottom: 30vw;
  width:90vw;
  height: 10vw;
  margin: 12vw 5vw 0 ;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  border-radius: 50px;
  border: 1px solid #e8e8e8;
  letter-spacing: 2px;
  font-size: 4vw;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* 视频弹窗样式 */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-modal-header {
  position: absolute;
  top: 8vw;
  left: 6vw;
 z-index: 10010;
}

.video-back-btn {
   width: 8vw;
  height: 8vw;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-back-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal-body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
}

.video-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-call-image {
  width: 50%;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);

}
.video-player {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  z-index: 10001;
}

.video-element {
  width: 100vw;
  height: 100vh;
}

.video-set-btn {
  position: absolute;
  bottom: 15vw;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 15vw;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-set-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-play2 {
    position: absolute;
    width: 20vw;
    height: 20vw;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10002;
    cursor: pointer;
}

.video-play2 img {
    width: 100%;
    height: 100%;
}